package app;

import com.jfinal.config.Routes;

import controllers.UserController;
import controllers.WelcomeController;
import interceptor.AuthInterceptor;

public class ApplicationRoutes extends Routes{

	@Override
	public void config() {
		addInterceptor(new AuthInterceptor());
		
		add("/hello", HelloController.class);
		add("/welcome", WelcomeController.class);
		add("/user", UserController.class);
	}

}
